package com.glorysoft.wangnianxinpda.adapter.viewholder;

import android.view.View;

import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;

import com.chad.library.adapter.base.BaseViewHolder;

/**
 * @Author Zhangjy
 * @Date 2021/6/30 14:01
 * Description :
 */
public class DataBindingBaseViewHolder extends BaseViewHolder {
    private ViewDataBinding viewDataBinding = null;

    public DataBindingBaseViewHolder(View view) {
        super(view);
        viewDataBinding = DataBindingUtil.bind(view);
    }

    public ViewDataBinding getDataBinding(){
        return viewDataBinding;
    }

}
